package com.dullwolf;

import io.jboot.Jboot;
import io.jboot.codegen.model.JbootModelGenerator;

public class ModelGenerator {

    public static void main(String[] args) {
        Jboot.setBootArg("jboot.datasource.url", "jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&useSSL=true");
        Jboot.setBootArg("jboot.datasource.user", "root");
        Jboot.setBootArg("jboot.datasource.password", "123123");
        String modelPackage = "com.dullwolf.model";
        //String excludeTables = "osu,map";
        JbootModelGenerator.run(modelPackage);
    }
}
